<?php include admintpl('header');?>
<div class="edit">
<form action="" method="post">
<?php
$edit = Array("db_host" =>'数据库服务器主机地址' ,"db_user" =>'数据库帐号' ,"db_pw" =>'数据库密码' ,"db_name" =>'数据库名' ,"db_pre" =>'数据库表前缀' ,"db_charset" =>'数据库字符集' ,"db_pconnect" =>'0 或1，是否使用持久连接' ,"site_url" =>'网站绝对地址' ,"newuser_apple" =>'新用户注册奖励苹果' ,"login_apple" =>'每次登陆奖励苹果' ,"duihua_apple" =>'发出对话奖励苹果' ,"changjing_gapple" =>'添加场景需要金苹果' ,"juese_gapple" =>'添加角色需要金苹果');

foreach ($edit as $a => $b) {
?>
	<div>
		<span><?php echo $a?></span>
		<input type="text" name="data[<?php echo $a?>]" value="<?php eval("echo ".(strtoupper($a)).";");?>" /><?php echo $b?>
	</div>
<?php
}?>
	<div>
		<input type="submit" name="submit" value=" 提交 " />
	</div>
</form>

</div>
<?php include admintpl('footer');?>
